package com.epam.necklace.view.menu;

public abstract class MenuItem {
	private String commandName;
	private String id;

	protected MenuItem(String commandName, String id) {
		this.commandName = commandName;
		this.id = id;
	}

	public abstract boolean execute();

	public String getCommandName() {
		return commandName;
	}

	public void setCommandName(String commandName) {
		this.commandName = commandName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}
